@charset "UTF-8";

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
	text-decoration: none;
	text-transform: uppercase;
  scroll-behavior: smooth;
}

body {
  max-width: 100vw;
  height: 100%;
}


/* add a thumb */
body::-webkit-scrollbar {
	width: 10px;
	height: 10px;
	background: rgba(0, 0, 0, 0.3);
	z-index: 99;
}

body::-webkit-scrollbar-thumb {
	background: rgba(250, 250, 250, 0.5);
	z-index: 100;
}

h3 {
	font-size: 3rem;
	font-weight: 700;
  font-family: Georgia, 'Times New Roman', Times, serif;
	text-align: center;
	margin: 0;
	padding-top: 4rem;
	background-color: #666;
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
	text-shadow: rgba(245, 245, 245, 0.5) 4px 6px 2px;
}

.lines {
  min-width: 100%;
  margin: 0;
  padding: 0;
  border-bottom: 3px solid transparent;
  border-image: url("https://www.infocrest.co.jp/ykxbdgs5qgq3/uploads/2019/10/blog_m02_2.jpg");
  border-image-slice: 1;
  border-image-repeat: stretch;
	overflow: hidden;
}


/* main section */
.main {
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
  min-width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #fff;
  line-height: 1.5;
  flex-wrap: wrap;
  z-index: 1;
  overflow: hidden;
}

.main::before {
	content: '';
	position: absolute;
	top: 20%; right: 0;
	width: 25%;
	height: 60%;
	background: linear-gradient( rgba(214, 109, 247, 0.6), rgba(247, 105, 105, 0.6));
	clip-path: square;
	border-radius: 61% 39% 60% 40% / 27% 65% 35% 73%;
	animation:  change 5s ease-in-out infinite, animate 5s ease-in-out infinite;
	box-shadow: 0px 5px 15px #333;
}

.main::after {
	content: '';
	position: absolute;
	top: 0; left: -1%;
	width: 15%;
	height: 32%;
	background: linear-gradient( rgba(214, 109, 247, 0.6), rgba(247, 105, 105, 0.6));
	/*clip-path: circle(10% at 5% 30%);*/
	clip-path: square;
	border-radius: 61% 39% 60% 40% / 27% 65% 35% 73%;
	animation:  change 5s ease-in-out infinite, animate 5s ease-in-out infinite;
	animation-delay: -2.5s;
	box-shadow: 0px 5px 15px #333;
}

@keyframes animate {
	0%,100% {
		transform: translateY(220px);
	}
	50% {
		transform: translateY(-30px);
	}
}

@keyframes change {
  0% {
    border-radius: 61% 39% 60% 40% / 27% 65% 35% 73%;
  }

  25% {
    border-radius: 30% 70% 45% 55% / 78% 30% 70% 22%;
  }

  50% {
    border-radius: 11% 89% 22% 78% / 44% 33% 67% 56%;
  }

  75% {
    border-radius: 38% 62% 70% 30% / 78% 74% 26% 22%;
  }

  100% {
    border-radius: 61% 39% 60% 40% / 27% 65% 35% 73%;
  }
}

.main .card {
	position: relative;
	width: 88%;
	height: 100%;
	margin: 5rem auto;
  padding: 2rem 3rem;
	box-shadow:  20px 30px 50px rgba(0, 0, 0, 0.6);
	border-radius: 15px;
	background: transparent;
	display: flex;
	justify-content: center;
  align-items: flex-start;
  flex-direction: column;
	border-top: 1px solid rgba(255, 255, 255, 0.5);
	border-left: 1px solid rgba(255, 255, 255, 0.5);
	backdrop-filter: blur(10px);
  overflow: hidden;
}

h2 {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1rem;
}

h2 span {
  font-weight: 900;
  color: rgb(228, 59, 250);
}

.line2 {
  border-bottom: solid 3px transparent;
  border-image: url("https://www.infocrest.co.jp/ykxbdgs5qgq3/uploads/2019/10/blog_m02_2.jpg");
  border-image-slice: 1;
  border-image-repeat: stretch;
	overflow: hidden;
	margin: 0;
	padding: 0;
}

p {
  padding: 1rem 0;
}

.main .p1 {
  transition-delay: 0.4s;
}

.main .p2 {
  transition-delay: 0.8s;
}

.main .p3 {
  transition-delay: 1.2s;
}


/* footer */
.footer {
	min-width: 100%;
	background: #fff;
}

.footer_container {
	position: relative;
	min-width: 100%;
	background: #fff;
	display: flex;
  justify-content: space-between;
  align-items: flex-start;
	padding: 1rem;
}

.footer_logo {
	color: #000;
	font-size: 1.125rem;
	line-height: 0.5rem;
	font-weight: 700;
	text-shadow: 0px 5px 15px #333;
	margin: 0;
	position: absolute;
	top: 18px;
}

.footer_logo:hover {
	color: rgb(228, 59, 250);
	text-decoration: none;
}

.footer_logo span {
	color: rgb(228, 59, 250);
}

.footer_links {
	display: flex;
	flex-direction: column;
	list-style: none;
	line-height: 1rem;
	row-gap: 0;
	margin: 0;
	padding: 1.5rem 0;
	transition-delay: 0.2s;
}

.footer_links li a {
	font-size: 0.5rem;
	color: #000;
	text-transform: uppercase;
}

.footer_link {
	color: #000;
	text-transform: none;
}

.footer_link:hover {
	color: rgb(228, 59, 250);
	text-shadow: 0px 5px 15px rgb(228, 59, 250);
	text-decoration: none;
}

/* SNS link */
.footer_social {
	display: flex;
	column-gap: 1.2rem;
	padding: 0 0 0.5rem;
}

.footer_social-link img {
	display: inline-flex;
	max-width: 36px;
	max-height: 36px;
	color: #fff;
	background-color: #000;
	padding: 0.5rem;
	border-radius: 0.25rem;
	font-size: 1.2rem;
	box-shadow: 0px 5px 15px #333;
}

.footer_social-link:hover .line {
	transform: scale(1.2);
	box-shadow: 0px 5px 15px rgb(10, 254, 82);
}

.footer_social-link:hover .x {
	transform: scale(1.2);
	box-shadow: 0px 5px 15px rgb(67, 247, 238);
}

.footer_social-link:hover .threads {
	transform: scale(1.2);
	box-shadow: 0px 5px 15px rgb(254, 243, 255);
}

.footer_social-link:hover .instagram {
	transform: scale(1.2);
	box-shadow: 0px 5px 15px rgb(228, 59, 250);
}

.footer .text p {
	font-size: 0.75rem;
	line-height: 0.5rem;
	color: #000;
	font-weight: 300;
	margin-top: 4rem;
	text-align: center;
	text-transform: none;
}


/* scrollup */
.scrollup {
  position: fixed;
  right: 1rem; bottom: 5%;
  display: flex;
  background-color: #f7f7f7;
  border-radius: 0.25rem;
  padding: 0.25rem;
  opacity: 0.9;
  z-index: 10;
  transition: 0.4s;
  transition-delay: 2s;
  box-shadow: 0px 5px 15px #333;
}

.scrollup_icon {
  color: #111;
  font-size: 1.2rem;
}

.scrollup:hover {
  text-decoration: none;
  opacity: 1;
	box-shadow: 0px 5px 15px rgb(228, 59, 250);
}

.scrollup_icon:hover {
  color: rgb(228, 59, 250);
}


/* media queries*/
@media screen and (max-width: 600px) {
  h3 {
    font-size: 1.5rem;
    padding-top: 2rem;
	}

	p {
		font-size: 0.3rem;
	}

  .main .card  {
    margin: 2rem;
  }

  h2 {
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 0.8rem;
  }

  h2 span {
    font-weight: 700;
  }

  .lines {
    border-bottom: 3px solid rgb(228, 59, 250);
  }

  p {
    font-size: 0.7rem;
    padding: 1rem 0;
  }

  .scrollup {
    display: none;
  }

	.footer_links {
		font-size: 0.5rem;
		line-height: 1rem;
		row-gap: 0.05rem;
	}

	.footer_social {
		row-gap: 1rem;
	}

	.footer_social a i {
		font-size: 0.8rem;
	}

	.footer .text p {
		font-size: 0.25rem;
		line-height: 0.2rem;
		padding: 0;
	}
}

@media screen and (max-width: 500px) {
	.main .card  {
		padding: 1.5rem;
  }

  h2 {
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 0.7rem;
  }

  h2 span {
    font-weight: 500;
  }

	p {
		font-size: 0.3rem;
	}
}


@media screen and (max-width: 400px) {
  .main .card  {
    margin: 1rem;
  }

	.footer_links li a {
		font-size: 0.2rem;
		line-height: 0.2rem;
	}
}

@media screen and (max-width: 300px) {
	.footer_logo {
		font-size: 1rem;
	}

	.footer_social {
		flex-direction: column;
		row-gap: 0.8rem;
	}

	.footer .text p {
		margin-top: 4rem;
	}
}